package com.sekill.miaosha.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author gao
 * @since 2021-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbSeckill implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 库存对应的商品sku id
     */
    private Long skuId;

    /**
     * 秒杀价格
     */
    private BigDecimal seckillPrice;

    /**
     * 秒杀开始时间
     */
    private LocalDateTime seckillCreatedate;

    /**
     * 秒杀结束时间
     */
    private LocalDateTime seckillEnddate;

    /**
     * 秒杀修改时间
     */
    private LocalDateTime seckillUpdate;

    /**
     * 秒杀状态
     */
    private Integer status;


}
